package com.company.query;

import lombok.Data;

@Data
public class CompanyQuery {
    private String companyName;
    private String companyAddress;
    private String userName;

    private Integer currentPage=1;
    private Integer pageSize=50;
    private Integer getBeginIndex(){
        return (currentPage-1)*pageSize;
    }
}
